package com.itheima.service;

import com.itheima.pojo.Brand;
import com.itheima.pojo.PageBean;

import java.util.List;


public interface BrandService{
    boolean add(Brand brand);
    boolean deleteByIds(List<Integer> ids);
    boolean deleteById(int id);
    boolean update(Brand brand);
    Brand findById(int id);
    PageBean<Brand> selectByPageAndCondition(Brand brand,int currentPage, int pageSize);
}
